package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountBaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountBaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAccountRoleIsNull() {
            addCriterion("account_role is null");
            return (Criteria) this;
        }

        public Criteria andAccountRoleIsNotNull() {
            addCriterion("account_role is not null");
            return (Criteria) this;
        }

        public Criteria andAccountRoleEqualTo(Byte value) {
            addCriterion("account_role =", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleNotEqualTo(Byte value) {
            addCriterion("account_role <>", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleGreaterThan(Byte value) {
            addCriterion("account_role >", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleGreaterThanOrEqualTo(Byte value) {
            addCriterion("account_role >=", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleLessThan(Byte value) {
            addCriterion("account_role <", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleLessThanOrEqualTo(Byte value) {
            addCriterion("account_role <=", value, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleIn(List<Byte> values) {
            addCriterion("account_role in", values, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleNotIn(List<Byte> values) {
            addCriterion("account_role not in", values, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleBetween(Byte value1, Byte value2) {
            addCriterion("account_role between", value1, value2, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountRoleNotBetween(Byte value1, Byte value2) {
            addCriterion("account_role not between", value1, value2, "accountRole");
            return (Criteria) this;
        }

        public Criteria andAccountNoIsNull() {
            addCriterion("account_no is null");
            return (Criteria) this;
        }

        public Criteria andAccountNoIsNotNull() {
            addCriterion("account_no is not null");
            return (Criteria) this;
        }

        public Criteria andAccountNoEqualTo(String value) {
            addCriterion("account_no =", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoNotEqualTo(String value) {
            addCriterion("account_no <>", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoGreaterThan(String value) {
            addCriterion("account_no >", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoGreaterThanOrEqualTo(String value) {
            addCriterion("account_no >=", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoLessThan(String value) {
            addCriterion("account_no <", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoLessThanOrEqualTo(String value) {
            addCriterion("account_no <=", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoLike(String value) {
            addCriterion("account_no like", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoNotLike(String value) {
            addCriterion("account_no not like", value, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoIn(List<String> values) {
            addCriterion("account_no in", values, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoNotIn(List<String> values) {
            addCriterion("account_no not in", values, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoBetween(String value1, String value2) {
            addCriterion("account_no between", value1, value2, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAccountNoNotBetween(String value1, String value2) {
            addCriterion("account_no not between", value1, value2, "accountNo");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountIsNull() {
            addCriterion("available_amount is null");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountIsNotNull() {
            addCriterion("available_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountEqualTo(BigDecimal value) {
            addCriterion("available_amount =", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountNotEqualTo(BigDecimal value) {
            addCriterion("available_amount <>", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountGreaterThan(BigDecimal value) {
            addCriterion("available_amount >", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("available_amount >=", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountLessThan(BigDecimal value) {
            addCriterion("available_amount <", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("available_amount <=", value, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountIn(List<BigDecimal> values) {
            addCriterion("available_amount in", values, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountNotIn(List<BigDecimal> values) {
            addCriterion("available_amount not in", values, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("available_amount between", value1, value2, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andAvailableAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("available_amount not between", value1, value2, "availableAmount");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaIsNull() {
            addCriterion("import_user_activa is null");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaIsNotNull() {
            addCriterion("import_user_activa is not null");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaEqualTo(Byte value) {
            addCriterion("import_user_activa =", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaNotEqualTo(Byte value) {
            addCriterion("import_user_activa <>", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaGreaterThan(Byte value) {
            addCriterion("import_user_activa >", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaGreaterThanOrEqualTo(Byte value) {
            addCriterion("import_user_activa >=", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaLessThan(Byte value) {
            addCriterion("import_user_activa <", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaLessThanOrEqualTo(Byte value) {
            addCriterion("import_user_activa <=", value, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaIn(List<Byte> values) {
            addCriterion("import_user_activa in", values, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaNotIn(List<Byte> values) {
            addCriterion("import_user_activa not in", values, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaBetween(Byte value1, Byte value2) {
            addCriterion("import_user_activa between", value1, value2, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andImportUserActivaNotBetween(Byte value1, Byte value2) {
            addCriterion("import_user_activa not between", value1, value2, "importUserActiva");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNull() {
            addCriterion("account_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNotNull() {
            addCriterion("account_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeEqualTo(Byte value) {
            addCriterion("account_type =", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotEqualTo(Byte value) {
            addCriterion("account_type <>", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThan(Byte value) {
            addCriterion("account_type >", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("account_type >=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThan(Byte value) {
            addCriterion("account_type <", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThanOrEqualTo(Byte value) {
            addCriterion("account_type <=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIn(List<Byte> values) {
            addCriterion("account_type in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotIn(List<Byte> values) {
            addCriterion("account_type not in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeBetween(Byte value1, Byte value2) {
            addCriterion("account_type between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("account_type not between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andTenderIsNull() {
            addCriterion("tender is null");
            return (Criteria) this;
        }

        public Criteria andTenderIsNotNull() {
            addCriterion("tender is not null");
            return (Criteria) this;
        }

        public Criteria andTenderEqualTo(Byte value) {
            addCriterion("tender =", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderNotEqualTo(Byte value) {
            addCriterion("tender <>", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderGreaterThan(Byte value) {
            addCriterion("tender >", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderGreaterThanOrEqualTo(Byte value) {
            addCriterion("tender >=", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderLessThan(Byte value) {
            addCriterion("tender <", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderLessThanOrEqualTo(Byte value) {
            addCriterion("tender <=", value, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderIn(List<Byte> values) {
            addCriterion("tender in", values, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderNotIn(List<Byte> values) {
            addCriterion("tender not in", values, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderBetween(Byte value1, Byte value2) {
            addCriterion("tender between", value1, value2, "tender");
            return (Criteria) this;
        }

        public Criteria andTenderNotBetween(Byte value1, Byte value2) {
            addCriterion("tender not between", value1, value2, "tender");
            return (Criteria) this;
        }

        public Criteria andRepaymentIsNull() {
            addCriterion("repayment is null");
            return (Criteria) this;
        }

        public Criteria andRepaymentIsNotNull() {
            addCriterion("repayment is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymentEqualTo(Byte value) {
            addCriterion("repayment =", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentNotEqualTo(Byte value) {
            addCriterion("repayment <>", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentGreaterThan(Byte value) {
            addCriterion("repayment >", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentGreaterThanOrEqualTo(Byte value) {
            addCriterion("repayment >=", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentLessThan(Byte value) {
            addCriterion("repayment <", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentLessThanOrEqualTo(Byte value) {
            addCriterion("repayment <=", value, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentIn(List<Byte> values) {
            addCriterion("repayment in", values, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentNotIn(List<Byte> values) {
            addCriterion("repayment not in", values, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentBetween(Byte value1, Byte value2) {
            addCriterion("repayment between", value1, value2, "repayment");
            return (Criteria) this;
        }

        public Criteria andRepaymentNotBetween(Byte value1, Byte value2) {
            addCriterion("repayment not between", value1, value2, "repayment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentIsNull() {
            addCriterion("credit_assignment is null");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentIsNotNull() {
            addCriterion("credit_assignment is not null");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentEqualTo(Byte value) {
            addCriterion("credit_assignment =", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentNotEqualTo(Byte value) {
            addCriterion("credit_assignment <>", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentGreaterThan(Byte value) {
            addCriterion("credit_assignment >", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentGreaterThanOrEqualTo(Byte value) {
            addCriterion("credit_assignment >=", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentLessThan(Byte value) {
            addCriterion("credit_assignment <", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentLessThanOrEqualTo(Byte value) {
            addCriterion("credit_assignment <=", value, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentIn(List<Byte> values) {
            addCriterion("credit_assignment in", values, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentNotIn(List<Byte> values) {
            addCriterion("credit_assignment not in", values, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentBetween(Byte value1, Byte value2) {
            addCriterion("credit_assignment between", value1, value2, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCreditAssignmentNotBetween(Byte value1, Byte value2) {
            addCriterion("credit_assignment not between", value1, value2, "creditAssignment");
            return (Criteria) this;
        }

        public Criteria andCompensatoryIsNull() {
            addCriterion("compensatory is null");
            return (Criteria) this;
        }

        public Criteria andCompensatoryIsNotNull() {
            addCriterion("compensatory is not null");
            return (Criteria) this;
        }

        public Criteria andCompensatoryEqualTo(Byte value) {
            addCriterion("compensatory =", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryNotEqualTo(Byte value) {
            addCriterion("compensatory <>", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryGreaterThan(Byte value) {
            addCriterion("compensatory >", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryGreaterThanOrEqualTo(Byte value) {
            addCriterion("compensatory >=", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryLessThan(Byte value) {
            addCriterion("compensatory <", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryLessThanOrEqualTo(Byte value) {
            addCriterion("compensatory <=", value, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryIn(List<Byte> values) {
            addCriterion("compensatory in", values, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryNotIn(List<Byte> values) {
            addCriterion("compensatory not in", values, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryBetween(Byte value1, Byte value2) {
            addCriterion("compensatory between", value1, value2, "compensatory");
            return (Criteria) this;
        }

        public Criteria andCompensatoryNotBetween(Byte value1, Byte value2) {
            addCriterion("compensatory not between", value1, value2, "compensatory");
            return (Criteria) this;
        }

        public Criteria andWithdrawIsNull() {
            addCriterion("withdraw is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawIsNotNull() {
            addCriterion("withdraw is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawEqualTo(Byte value) {
            addCriterion("withdraw =", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawNotEqualTo(Byte value) {
            addCriterion("withdraw <>", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawGreaterThan(Byte value) {
            addCriterion("withdraw >", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawGreaterThanOrEqualTo(Byte value) {
            addCriterion("withdraw >=", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawLessThan(Byte value) {
            addCriterion("withdraw <", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawLessThanOrEqualTo(Byte value) {
            addCriterion("withdraw <=", value, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawIn(List<Byte> values) {
            addCriterion("withdraw in", values, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawNotIn(List<Byte> values) {
            addCriterion("withdraw not in", values, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawBetween(Byte value1, Byte value2) {
            addCriterion("withdraw between", value1, value2, "withdraw");
            return (Criteria) this;
        }

        public Criteria andWithdrawNotBetween(Byte value1, Byte value2) {
            addCriterion("withdraw not between", value1, value2, "withdraw");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNull() {
            addCriterion("recharge is null");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNotNull() {
            addCriterion("recharge is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeEqualTo(Byte value) {
            addCriterion("recharge =", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotEqualTo(Byte value) {
            addCriterion("recharge <>", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThan(Byte value) {
            addCriterion("recharge >", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThanOrEqualTo(Byte value) {
            addCriterion("recharge >=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThan(Byte value) {
            addCriterion("recharge <", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThanOrEqualTo(Byte value) {
            addCriterion("recharge <=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeIn(List<Byte> values) {
            addCriterion("recharge in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotIn(List<Byte> values) {
            addCriterion("recharge not in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeBetween(Byte value1, Byte value2) {
            addCriterion("recharge between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotBetween(Byte value1, Byte value2) {
            addCriterion("recharge not between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andIsShowBillIsNull() {
            addCriterion("is_show_bill is null");
            return (Criteria) this;
        }

        public Criteria andIsShowBillIsNotNull() {
            addCriterion("is_show_bill is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowBillEqualTo(Byte value) {
            addCriterion("is_show_bill =", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillNotEqualTo(Byte value) {
            addCriterion("is_show_bill <>", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillGreaterThan(Byte value) {
            addCriterion("is_show_bill >", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_show_bill >=", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillLessThan(Byte value) {
            addCriterion("is_show_bill <", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillLessThanOrEqualTo(Byte value) {
            addCriterion("is_show_bill <=", value, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillIn(List<Byte> values) {
            addCriterion("is_show_bill in", values, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillNotIn(List<Byte> values) {
            addCriterion("is_show_bill not in", values, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillBetween(Byte value1, Byte value2) {
            addCriterion("is_show_bill between", value1, value2, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andIsShowBillNotBetween(Byte value1, Byte value2) {
            addCriterion("is_show_bill not between", value1, value2, "isShowBill");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}